<?php
/**
 * ============================================================================
 * Copyright (c) 2015-2018 贵州大师兄信息技术有限公司 All rights reserved.
 * siteַ: http://www.dsxcms.com
 * ============================================================================
 * @author:     David Song<songdewei@163.com>
 * @version:    v1.0.0
 * ---------------------------------------------
 * Date: 2018/11/6
 * Time: 1:43 PM
 */

namespace App\WechatMessages\ZPH;


use App\WeChat\Message\TemplateMessage;

class UserUpgradeMessage extends TemplateMessage
{

    protected $template_id = 'q6acC8GEW4tXCMiP3kZ84t2YV7ze_XcQ20jL1Q0K7fU';

    public function __construct()
    {
        $this->setFirst('尊敬的会员，您的会员等级升级了！');
        $this->setRemark('感谢您的支持！');
    }

    public function setLavelName($value , $color = '#333')
    {
        $this->setDataValue('keyword1', $value, $color);
    }

    public function setUpgradeTime($value, $color = '#333')
    {
        $this->setDataValue('keyword2', $value, $color);
    }
}
